package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class OrderInfo {
    private Long id;
    private String buyerName;
    private String buyerAddress;
    private String buyerPhone;
    private String buyerContry;
    private String tradeId;
    private List<OrderDetailInfo> detailInfoList;
    private String createBy;
    private Long createUserId;

    private String userNickName;
    private String socialApp;
    private String paymentNo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getBuyerAddress() {
        return buyerAddress;
    }

    public void setBuyerAddress(String buyerAddress) {
        this.buyerAddress = buyerAddress;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public String getBuyerContry() {
        return buyerContry;
    }

    public void setBuyerContry(String buyerContry) {
        this.buyerContry = buyerContry;
    }

    public List<OrderDetailInfo> getDetailInfoList() {
        return detailInfoList;
    }

    public void setDetailInfoList(List<OrderDetailInfo> detailInfoList) {
        this.detailInfoList = detailInfoList;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getSocialApp() {
        return socialApp;
    }

    public void setSocialApp(String socialApp) {
        this.socialApp = socialApp;
    }

    public String getPaymentNo() {
        return paymentNo;
    }

    public void setPaymentNo(String paymentNo) {
        this.paymentNo = paymentNo;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "buyerName='" + buyerName + '\'' +
                ", buyerAddress='" + buyerAddress + '\'' +
                ", buyerPhone='" + buyerPhone + '\'' +
                ", buyerContry='" + buyerContry + '\'' +
                ", tradeId='" + tradeId + '\'' +
                ", detailInfoList=" + detailInfoList +
                '}';
    }
}
